@import '../../../css/colorVar.less';

.counterpartyInfo {
  background: @main_body_bg;
  height: 100%;

  .missIcon {
    color: @text_prohibit;
    font-size: 16px;
  }

  .disabledCls {
    color: @table_butt_disable !important;
    cursor: not-allowed;
  }

  .ant-card {
    margin-bottom: 12px;
    background: transparent;
    border: 0;

    .ant-card-head {
      margin-bottom: 10px;
      padding: 6px 20px 6px 38px;
      min-height: 30px;
      border-bottom: 0;
      border-radius: 0px;
      background: @first_level_title_auxiliary !important;

      .ant-card-head-title {
        padding: 0;
        height: 18px;
        line-height: 18px;
        color: @text_main !important;
        font-family: 'PingFangSC-Medium';
        font-size: 14px;
      }
    }

    .ant-card-body {
      padding: 0;
    }
  }

  .tringle {
    width: 39px;
    height: 0;
    border-top: 30px solid @main_body_bg;
    border-right: 29px solid transparent;
    position: absolute;
    left: 0;
    top: 0;
    z-index: 2;
  }

  .tringle:after {
    content: '';
    left: 0;
    top: -30px;
    width: 0;
    height: 0;
    border-color: transparent @theme;
    border-width: 0 0 29px 29px;
    border-style: solid;
    position: absolute;
  }

  .addCounterparty {
    margin: 13px 0 13px 0;
  }

  .actionBtn {
    a {
      margin-right: 30px;
      color: @theme;
    }

    a:last-child {
      margin: 0;
    }
  }
}
